package com.wn.common.net.config

/**
 * @Author: wn
 * @Date: 2022/12/23 16:17
 * @Description: okhttp 配置项 -  appId  appKey  token
 */
// 开发环境  http://yapi.54yct.com/mock/24/    https://course.api.cniao5.com/
// const val HOST_PRODUCT = "https://release.course.api.cniao5.com/"
const val BASE_URL = "https://course.api.cniao5.com/"

// 本地缓存的数据字段 key   用户token标记   MMKV 替换 sp
const val SP_KEY_USER_TOKEN = "sp_key_user_token"

// 网络请求配置
const val NET_CONFIG_APP_ID = "tcvEYUlWEc"
const val NET_CONFIG_APP_KEY = "J#y9sJesv*5HmqLqEV1yUPYfpH\$pHx\$!"

// 数据库 名字
const val DB_NAME = "database_db"

/**
 * Retrofit 动态切换 BaseUrl
 * 全局 BaseUrl 的优先级低于 Domain-Name header 中单独配置的,其他未配置的接口将受全局 BaseUrl 的影响
 */
// 菜鸟 API
const val CAI_NIAO_NAME = "cai"
const val CAI_NIAO_VALUE = "https://course.api.cniao5.com/"

// 小兔鲜 API
// https://apipc-xiaotuxian-front.itheima.net/
// https://pcapi-xiaotuxian-front.itheima.net
// http://pcapi-xiaotuxian-front-devtest.itheima.net/
// https://pcapi-xiaotuxian-front-devtest.itheima.net
const val TU_NAME = "tu"
const val TU_VALUE = "http://pcapi-xiaotuxian-front-devtest.itheima.net/"

// 开眼 API -- api/v5/index/tab/feed
const val EYE_NAME = "eye"

// http://baobab.kaiyanapp.com/    https://api.github.com/
const val EYE_VALUE = "https://api.github.com/"